package com.lucy.nepu.module.htopic.lib;

import com.lucy.common.core.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author Administrator
 */
@Getter
@Setter
@ToString
@RequiredArgsConstructor
@Entity
@Table(name = "nepu_hor_topic_dict")
@ApiModel(value = "横向课题词典")
public class HorTopicDict extends BaseEntity implements Serializable {
    /**
     * TopicDict
     */
    @ApiModelProperty("词典编码")
    @Column(name = "code")
    String code;
    /**
     * 横向课题类型
     */
    @ApiModelProperty(value = "横向课题类型",notes = "自然科学，社会科学")
    @Column(name = "hor_topic_type")
    String horTopicType;

    /**
     * 横向课题级别
     */
    @ApiModelProperty(value = "横向课题级别",notes = "A1,A2,B1等")
    @Column(name = "hor_topic_level")
    String horTopicLevel;


    @ApiModelProperty("经费上限")
    @Column(name = "founds_ceiling",scale = 2)
    Double fundsCeiling;


    @ApiModelProperty("经费下限")
    @Column(name = "founds_floor",scale = 2)
    Double fundsFloor;

    /**
     * 横向课题年工作量
     */
    @ApiModelProperty(value = "工作量Min",notes = "获奖对应的最小工作量")
    @Column(name = "workload_min",scale = 2)
    Double workloadMin;

    @ApiModelProperty(value = "工作量Max",notes = "获奖对应的最大工作量")
    @Column(name = "workload_max",scale = 2)
    Double workloadMax;

    @ApiModelProperty(value = "横向课题词典备注")
    @Column(name = "remark")
    String remark;
}
